home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.basic;
-
- import java.awt.event.ActionEvent;
- import java.beans.PropertyVetoException;
- import javax.swing.AbstractAction;
-
- public class BasicInternalFrameTitlePane$CloseAction extends AbstractAction {
- // $FF: synthetic field
- private final BasicInternalFrameTitlePane this$0;
-
- public BasicInternalFrameTitlePane$CloseAction(BasicInternalFrameTitlePane var1) {
- super("Close");
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- if (this.this$0.frame.isClosable()) {
- try {
- this.this$0.frame.setClosed(true);
- } catch (PropertyVetoException var2) {
- }
- }
-
- }
- }
-